package com.maimang.platform.dsp.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.maimang.platform.annotation.Excel;
import com.maimang.platform.base.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Rocky
 * @version 1.0.0
 * @classname AdvertiserShort
 * @description <br>广告主ID信息</br>
 * @date 2019-08-30 13:57
 * @email jintaozhao@qq.com
 */
public class AdvertiserShort extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 广告主id
	 */
	@Excel(name = "广告主ID")
	private String id;


	/**
	 * 账户名
	 */
	@Excel(name = "账户名")
	private String name;

	/**
	 * 联系邮箱
	 */
	@Excel(name = "联系邮箱")
	private String email;

	/**
	 * 联系人
	 */
	@Excel(name = "联系人")
	private String contacter;

	/**
	 * 手机号码
	 */
	@Excel(name = "手机号码")
	private String phonenumber;
	/**
	 * 公司名
	 */
	@Excel(name = "公司名")
	private String company;

	/**
	 * 创建时间
	 */
	@Excel(name = "创建时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getContacter() {
		return contacter;
	}

	public void setContacter(String contacter) {
		this.contacter = contacter;
	}

	public String getPhonenumber() {
		return phonenumber;
	}

	public void setPhonenumber(String phonenumber) {
		this.phonenumber = phonenumber;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
